package com.ai.exam.model;

import javax.persistence.*;

public class Prize {
    @Id
    @Column(name = "prize_id")
    private String prizeId;

    private Integer total;

    /**
     * @return prize_id
     */
    public String getPrizeId() {
        return prizeId;
    }

    /**
     * @param prizeId
     */
    public void setPrizeId(String prizeId) {
        this.prizeId = prizeId;
    }

    /**
     * @return total
     */
    public Integer getTotal() {
        return total;
    }

    /**
     * @param total
     */
    public void setTotal(Integer total) {
        this.total = total;
    }

    @Override
    public String toString() {
        return "Prize{" +
                "prizeId='" + prizeId + '\'' +
                ", total=" + total +
                '}';
    }
}